package reflect;
import java.util.Arrays;

public class ArgsDemo {
    public static void main(String[] args) {
        doSome(1);
        doSome(1,"a","b");
        doSome(1,"a","b","c","a","b","c","a","b","c","a","b","c");

    }

    public static void doSome(int a,String... args){
        System.out.println(args.length);
        System.out.println(Arrays.toString(args));
    }
}
